#ifndef VDATABASE_H
#define VDATABASE_H

#include <QWidget>
#include <QTextEdit>
#include <QPushButton>
#include <QVBoxLayout>

#include "../Controlers/CDataBase.h"

class VDataBase : public QWidget
{
    Q_OBJECT
    private:
        CDataBase *c_database;
        QTextEdit *log_box;
        QPushButton *connect_button;

        QVBoxLayout *layoutp;

    public slots:
        void database_connect();
        void addLogLine(QString content, QString color);

    public:
        VDataBase();
        ~VDataBase();
};

#endif // VDATABASE_H
